import request from '@/router/axios';

export const getFunctionTree = () => {
  return request({
    url: '/api/data-quality/functionComparison/getFunctionTree',
    method: 'get',
  })
}

export const validateExpression = (expression) => {
  return request({
    url: '/api/data-quality/functionComparison/validateExpression',
    method: 'post',
    params: {
      expression
    }
  })
}
